<?php
/* @var $this BookController */
/* @var $dataProvider CActiveDataProvider */

$this->pageTitle=Yii::app()->name . ' - Books';
$this->breadcrumbs=array(
	'Books',
);

?>

<div class="container">
	<ol class="breadcrumb">
		<li><?php echo CHtml::link('首页', array('/site/index'));?></li>
		<li class="active"><?php echo CHtml::link('评论', array('/message/index'));?></li>
	</ol>

    <div class="row">
        <!-- Article main content -->
        <article class="col-md-8 maincontent">
			<header class="page-header">
				<h1 class="page-title">图书列表</h1>
			</header>
            <?php $this->widget('zii.widgets.CListView', array(
                'dataProvider'=>$dataProvider,
                'itemView'=>'_view',
                'summaryText'=>'展示{start}-{end}项,共{count}项',
            )); ?>
        </article>
        <!-- /Article -->
        <!-- Sidebar -->
        <aside class="col-md-4 sidebar sidebar-right">

            <div class="row widget">
                <div class="col-xs-12">
                    <h5><?php echo CHtml::link('上传图书', array('/book/create'));?></h5>
                    <h5><?php echo CHtml::link('管理图书', array('/book/admin'));?></h5>
                </div>
            </div>
            <div class="row widget">
                <div class="col-xs-12">
                    <p><img src="<?php echo Yii::app()->request->baseUrl; ?><?php echo Yii::app()->request->baseUrl; ?>/Progressus//assets/images/1.jpg" alt=""></p>
                </div>
            </div>
            <div class="row widget">
                <div class="col-xs-12">
                    <p><img src="<?php echo Yii::app()->request->baseUrl; ?><?php echo Yii::app()->request->baseUrl; ?>/Progressus//assets/images/2.jpg" alt=""></p>
                </div>
            </div>

        </aside>
        <!-- /Sidebar -->
    </div>
</div>
